<script src="__PUBLIC__/Js/jQuery/jquery-1.10.2.min.js"></script>

<div class="r_widget">
    <form id="searchform" action="{{:U('Home/Public/search')}}" method="POST" role="search">
        <div class="search">

            <input id="s" type="text" name="title" value="">
            <input id="searchsubmit" type="submit" value="搜索">
        </div>


    </form>


    <div class="clear"></div>
</div>
<script>
    $(function () {
        $("#searchsubmit").click(function () {
            if ($("#s").val() == '') {
                return false;
            }
        })
    });

</script>

{{:hook('right')}}